<template>
  <div class="dashboard-container">
    <div class="app-container">
      <el-card>
        {{hmmm.ceshi}}
        <el-button type="primary">新增试题</el-button>
        <el-button type="primary">批量导入</el-button>
        <el-form label-width="60px">
          <el-row :gutter="20">
          <el-col :span="6">
            <el-form-item label="学科">
              <el-input></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item>
              <el-input></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item>
              <el-input></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item>
              <el-input></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item>
              <el-input></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        </el-form>
        <el-table :data="hmmm.baseList">
          <el-table-column type="index"></el-table-column>
          <el-table-column prop="subjectID" label="学科"></el-table-column>
        </el-table>
      </el-card>
    </div>
  </div>
</template>

<script>
import {mapState} from 'vuex'
export default {
  name: 'QuestionsList',
  created(){
    this.$store.dispatch('getBaseList')
  },
  data() {
    return {}
  },
  computed:{
    ...mapState(['hmmm'])
  }
}
</script>

<style scoped>
</style>
